<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2023-06-06
  Time: 16:28
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <h2>所有的cookie</h2>
 <%
     Cookie[] cookies = request.getCookies();
     for (int i = 0; cookies!=null && i < cookies.length; i++) {
         out.print(cookies[i].getName()+"="+cookies[i].getValue()+"<br/>");
     }
 %>
</body>
</html>
